
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '行政人员1',
    enableValidate: true
})

@Injectable()
export class BasicFormViewmodelForm extends Form {
    @NgFormControl({
        id: 'code_7b2f03f5_6dgt',
        name: "{{code_7b2f03f5_6dgt}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name_8b788a59_326c',
        name: "{{name_8b788a59_326c}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '名称',
    })
    name: FormControl;

    @NgFormControl({
        id: 'remark_87a8db9b_m2hn',
        name: "{{remark_87a8db9b_m2hn}}",
        binding: 'remark',
        updateOn: 'blur',
        defaultI18nValue: '备注',
    })
    remark: FormControl;

    @NgFormControl({
        id: 'state_f6094b3b_m7k9',
        name: "{{state_f6094b3b_m7k9}}",
        binding: 'state',
        updateOn: 'blur',
        defaultI18nValue: '状态',
    })
    state: FormControl;

    @NgFormControl({
        id: 'organization_efd7f305_vfoh',
        name: "{{organization_efd7f305_vfoh}}",
        binding: 'organization',
        updateOn: 'blur',
        defaultI18nValue: '组织',
    })
    organization: FormControl;

    @NgFormControl({
        id: 'gender_e593e1a1_ewup',
        name: "{{gender_e593e1a1_ewup}}",
        binding: 'gender',
        updateOn: 'blur',
        defaultI18nValue: '性别',
    })
    gender: FormControl;

    @NgFormControl({
        id: 'countryOrArea_0f822ec8_5rxf',
        name: "{{countryOrArea_0f822ec8_5rxf}}",
        binding: 'countryOrArea',
        updateOn: 'blur',
        defaultI18nValue: '所属国家或地区',
    })
    countryOrArea: FormControl;

    @NgFormControl({
        id: 'location_411a7c80_rtuz',
        name: "{{location_411a7c80_rtuz}}",
        binding: 'location',
        updateOn: 'blur',
        defaultI18nValue: '常驻地',
    })
    location: FormControl;

    @NgFormControl({
        id: 'postID_d9085102_xlsc',
        name: "{{postID_d9085102_xlsc}}",
        binding: 'postID',
        updateOn: 'blur',
        defaultI18nValue: '职级',
    })
    postID: FormControl;

    @NgFormControl({
        id: 'category_7c8c1521_gi63',
        name: "{{category_7c8c1521_gi63}}",
        binding: 'category',
        updateOn: 'blur',
        defaultI18nValue: '人员类别',
    })
    category: FormControl;

    @NgFormControl({
        id: 'displayName_ed752cbf_gayz',
        name: "{{displayName_ed752cbf_gayz}}",
        binding: 'displayName',
        updateOn: 'blur',
        defaultI18nValue: '显示姓名',
    })
    displayName: FormControl;

    @NgFormControl({
        id: 'telephone_00be3451_drfr',
        name: "{{telephone_00be3451_drfr}}",
        binding: 'telephone',
        updateOn: 'blur',
        defaultI18nValue: '联系电话',
    })
    telephone: FormControl;

    @NgFormControl({
        id: 'secret_a77111d8_hjht',
        name: "{{secret_a77111d8_hjht}}",
        binding: 'secret',
        updateOn: 'blur',
        defaultI18nValue: '密级',
    })
    secret: FormControl;

    @NgFormControl({
        id: 'mailbox_a9822261_vy64',
        name: "{{mailbox_a9822261_vy64}}",
        binding: 'mailbox',
        updateOn: 'blur',
        defaultI18nValue: '邮箱',
    })
    mailbox: FormControl;

}